import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import {ConfigProvider} from 'antd';
import zhCN from 'antd/lib/locale/zh_CN';
import moment from 'moment';
import 'moment/locale/zh-cn';
import './index.css';
import store from './redux/store';
import {Provider} from 'react-redux';
// import 'antd/dist/antd.css';
moment.locale('zh-cn');

ReactDOM.render(
  <React.StrictMode>
    <Provider store={store}>
      <ConfigProvider locale={zhCN}>
        <App />
      </ConfigProvider>
    </Provider>
  </React.StrictMode>,
  document.getElementById('root')
);
